package SmartMeeting.bridges.Controller;

import SmartMeeting.bridges.PlatFormAPI;

public class MobileController extends MeetingController {
    private final PlatFormAPI platformAPI;

    public MobileController(PlatFormAPI platformAPI) {
        this.platformAPI = platformAPI;
    }

    @Override
    public void startMeetingTool(String meetingId) {
        System.out.println("MobileController: 启动会议工具");
        platformAPI.videoOn();
        platformAPI.audioOn();
        platformAPI.shareScreenOn();
    }

    @Override
    public void endMeetingTool(String meetingId) {
        System.out.println("MobileController: 结束会议工具");
        platformAPI.videoOff();
        platformAPI.audioOff();
        platformAPI.shareScreenOff();
    }
}
